'use strict';

module.exports = (app) => {
  const { router, controller, io } = app;
  require('./router/base')(app);
  require('./router/user')(app);
  require('./router/collect')(app);
  require('./router/ad')(app);

  io.of('/').route('server', io.controller.nsp.index);
  // ws://localhost:7001
};
